<?php $this->placeholder('grid-size')->set(12);?>
<?php $this->headLink()->appendStylesheet(Ac_Util::getImageBaseUrl('/css/custom_post_ad.v-'.AC_VERSION.'.css'))?>
<?php $this->JQuery()->javascriptCaptureStart()?>
	// Control for remark
    $('input#remark').keydown(function(event) {
        var charLength = 60 - $(this).val().length;
        if (charLength <0) {
            if ( event.keyCode == 8 || event.keyCode == 46 ) {

            } else {
                return false;
            }
        }
    });
    $("#listing_form").bind("keypress", function(e) {
		if (e.keyCode == 13 && $("*:focus").attr("id")!="cs_en") return false;
	});
<?php $this->JQuery()->javascriptCaptureEnd()?>
<section class="main_section">
    <section class="nav">      
		<h3>发布信息</h3>
        <ol>
          	<li><span>1</span><em>选择分类</em></li>
			<li class="selected"><span>2</span><em>写新信息</em></li>
			<li><span>3</span><em>登入</em></li>
        </ol>
    </section>
    <section class="form box">
        <?php echo $this->form ?>
    </section>
</section>

<aside class="aside"> </aside>
